package com.ssm.service.agency.impl;

import java.io.IOException;
import java.util.ArrayList;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.ssm.entity.agency.vo.AgencyVo;
import com.ssm.mapper.agency.AgencyMapper;
import com.ssm.mapper.agency.AgencyUserMapper;
import com.ssm.service.agency.AgencyService;


/**
 * 经销商信息service实现
 * @author around
 * @date 2017-6-21
 */
@Service
public class AgencyServiceImpl implements AgencyService {

	@Autowired
	private AgencyMapper agencyMapper;
	
	@Autowired
	private AgencyUserMapper agencyUserMapper;

	@Override
	public AgencyVo find(Long id) {
		AgencyVo agency = agencyMapper.selectByPrimaryKey(id);
		return agency;
	}


	

}
